﻿@model CoralNode.Core.Entity.Domains.Site.SiteDomain

<div id="pbody" class="pbody_style2">
    <div class="extra">
        <div class="pbody_top">
            <span class="ico ico_setting_setting"></span><span class="t t_c">快速设置</span>
        </div>
        <form id="spform" action="/m/quickSetting/SettingSite" method="post" enctype="multipart/form-data">
            <div id="main">
                <div class="step">
                    <ul class="clearfix" style="height: 68px">
                        <li><span class="ico ico_step_current"></span><span class="t">基本信息</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">扩展信息</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">内容结构</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">菜单结构</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">网站外观</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">权限设置</span></li>
                        <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">性能设置</span></li>
                    <li><i></i></li>
                        <li><span class="ico ico_step_noover"></span><span class="t">完成</span></li>
                    </ul>
                </div>

                <div class="table_form form_main step_content">
                    <table data-js="tabCnt">
                        <tbody>
                            <tr>
                                <th width="60"><span class="info_txt">网站名称：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Name, new { @class = "text w_41-5 required" })
                                    @Html.HiddenFor(m => m.Id)
                                </td>
                            </tr>
                            <tr>
                                <th width="80"><span class="info_txt">网站主机名：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Hosts, new { @class = "text w_41-5" })
                                    @Html.HiddenFor(m => m.Id)
                                </td>
                            </tr>
                            <tr>
                                <th><span class="info_txt">站点语言：</span></th>
                                <td>
                                    <div class="slt js-select" name="LangCode" wd="264" swd="220">
                                        <div class="curr"><span></span></div>
                                        <div class="show">
                                            <ul>
                                                @foreach (var item in @ViewBag.LangList) {
                                                    if (Model.LangCode == @item.Code) {
                                                    <li selected="selected" val="@item.Code"><a>@item.Area</a></li>
                                                    } else {
                                                    <li  val="@item.Code"><a>@item.Area</a></li>
                                                    }
                                                }
                                            </ul>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <th><span class="info_txt">站点字符集：</span></th>
                                <td>
                                    <div class="slt js-select" name="Charset" wd="264" swd="220">
                                        <div class="curr"><span></span></div>
                                        <div class="show">
                                            <ul>
                                                @foreach (var item in @ViewBag.SiteCharsetList) {
                                                    if (Model.Charset != null && Model.Charset == @item.Value) {
                                                    <li selected="selected" val="@item.Value"><a>@item.Key</a></li>
                                                    } else {
                                                    <li  val="@item.Value"><a>@item.Key</a></li>
                                                    }
                                                }
                                            </ul>
                                        </div>
                                    </div>
                                </td>
                            </tr>
                            <tr>
                                <th width="60"><span class="info_txt">所在地区：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Area, new { @class = "text w_41-5" })
                                </td>
                            </tr>

                            <tr>
                                <th><span class="info_txt">宣传口号：</span></th>
                                <td>
                                    @Html.TextAreaFor(m => m.Slogan, new { @class = "w_41-5 h_12" })
                                </td>
                            </tr>
                            <tr>
                                <th width="60"><span class="info_txt">作者信息：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Author, new { @class = "text w_41-5" })
                                </td>
                            </tr>
                            <tr>
                                <th width="60"><span class="info_txt">版权信息：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Copyright, new { @class = "text w_41-5" })
                                </td>
                            </tr>
                            <tr>
                                <th width="60"><span class="info_txt">ICP编号：</span></th>
                                <td>
                                    @Html.TextBoxFor(m => m.Icp, new { @class = "text w_41-5" })
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="ml_39 p_2">
                    <input type="submit" class="btn_1" value="下一步" />
                </div>
            </div>
        </form>
    </div>
</div>

<script type="text/javascript">
    $(document).ready(function () {


    })
</script>
